package com.Maykk.Demo05;

/**
 * @ClassName DemoTest
 * @Description: TODO
 * @Author: MaykkSTAR@163.com
 * @DATE: 2023/3/28
 */
public class DemoTest {
    public static void main(String[] args) {
        WhoRun whoRun = new WhoRun();
        Dog dog = new Dog();
        // 此处使用多态进行传参
        // Dog 实现 Running 接口，Dog 传入 WhoRun 
        whoRun.show(dog);
    }
}
